﻿<%@ Page Language="C#" MasterPageFile="~/MainSite.master" AutoEventWireup="true" CodeBehind="AllBooks.aspx.cs" Inherits="易览漫画.AllBooks" %>



<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="contentheader">
    随身书店-后台管理
</asp:Content>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="Header">
    图书列表
</asp:Content>
<asp:Content ID="Content" runat="server" ContentPlaceHolderID="content" >

    
    <asp:GridView ID="list" AllowPaging="True" runat="server" GridLines="None" style="text-align:center;margin:auto;" Width="100%">
     
    <RowStyle BackColor="White" ForeColor="#555555" Height="40px" CssClass="gvRow" BorderStyle="None" />
    <HeaderStyle BackColor="#EEEEEE" Font-Bold="true" ForeColor="#666666" CssClass="gvHeader" />
    <AlternatingRowStyle BackColor="#EEEEEE" CssClass="gvAlternatingRow" BorderStyle="None" />
    

        <Columns>
            <asp:TemplateField>
                <ItemStyle Width="40px"/>
                <ItemTemplate>
                    <a href='<%# "Editing.aspx?id="+Eval("ID") %>' style="width:40px;background-image:url(images/pencil.png);text-decoration:none;text-align:center;background-repeat:no-repeat;color:Blue;">&nbsp;&nbsp;&nbsp;&nbsp;</a>
                </ItemTemplate>
               
            </asp:TemplateField>

            <asp:TemplateField >
                <ItemStyle Width="40px" />
                <ItemTemplate>
                    <asp:LinkButton ID="linkbtn" style="width:40px;background-image:url(images/cross.png);background-repeat:no-repeat;color:Red;text-align:center;" Text="&nbsp;&nbsp;&nbsp;&nbsp;" runat="server"  OnClientClick="return confirm('是否删除?')" CommandArgument='<%# Eval("ID") %>' OnCommand="linkbtnclick"></asp:LinkButton>
                </ItemTemplate>
               
            </asp:TemplateField>
        </Columns>
   
    </asp:GridView>



</asp:Content>